<template>
  <a-config-provider :locale="locale" :prefixCls="prefixCls">
    <slot />
  </a-config-provider>
</template>

<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN';

export default {
  name: 'DConfigProvider',
  props: {
    locale: {
      type: Object,
      default: () => zhCN
    },
    prefixCls: {
      type: String,
      default: 'tw'
    }
  }
};
</script>

<style lang="scss" scoped></style>
